package ClientDemo;

import java.io.UnsupportedEncodingException;

/**
 * @author 啊林
 * @date 2022/3/23
 * @time 23:38
 */

public class GetPath {
    public static String DLL_PATH;
    static {
//        String path = (ClientDemo.class.getResource("/").getPath()).replaceAll("%20", " ").substring(1).replace("/", "\\")+"lib\\";
        String path  = System.getProperty("user.dir")+"\\lib\\";
//        System.out.println(path);
        try {
            DLL_PATH = java.net.URLDecoder.decode(path, "utf-8");
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
    }
}
